<form id="{{$id}}" method="{{$method ?? 'post'}}" action="{{$action}}">
        {{csrf_field()}}
            @component('backend::component.form.form-group')
                @slot('title') 原{{$title}} @endslot
                @component('backend::component.form.input')
                    @slot('name') old_{{$pwd_name}} @endslot
                    @slot('type') password @endslot
                @endcomponent
            @endcomponent

            @component('backend::component.form.form-group')
                @slot('title') 新{{$title}} @endslot
                @component('backend::component.form.input-group')
                    @slot('input')
                        @component('backend::component.form.input')
                            @slot('name') {{$pwd_name}} @endslot
                            @slot('type') password @endslot
                        @endcomponent
                    @endslot
                    @slot('button')
                        @component('backend::component.form.button')
                            @slot('title') 随机生成 @endslot
                            @slot('size') sm @endslot
                            @slot('attr') onclick = randVal(this,8) data-target={{$pwd_name}} @endslot
                        @endcomponent
                    @endslot
                @endcomponent
                @slot('remark') 必须至少包含一个大写字母，一个小写字母,一个特殊字符 @endslot
            @endcomponent

            @component('backend::component.form.form-group')
                @slot('title') 确认{{$title}} @endslot
                @component('backend::component.form.input')
                    @slot('name') confirm_{{$pwd_name}} @endslot
                    @slot('type') password @endslot
                @endcomponent
            @endcomponent

        <div class="form-actions">
            @component('backend::component.form.button')
                @slot('title') 提交 @endslot
                @slot('size') sm @endslot
                @slot('params') {"formId":"#{{$id}}"} @endslot
                @slot('class') btn-min-width ajax-form @endslot
            @endcomponent
            @component('backend::component.form.button')
                @slot('title') 重置 @endslot
                @slot('type') reset @endslot
                @slot('size') sm @endslot
                @slot('color') danger @endslot
                @slot('class') btn-min-width @endslot
            @endcomponent
        </div>
 </form>